home *** CD-ROM | disk | FTP | other *** search
- // Machine generated IDispatch wrapper class(es) created by Microsoft Visual C++
-
- // NOTE: Do not modify the contents of this file. If this class is regenerated by
- // Microsoft Visual C++, your modifications will be overwritten.
-
-
- #include "stdafx.h"
- #include "pvdate2.h"
-
- // Dispatch interfaces referenced by this interface
- #include "font.h"
-
- /////////////////////////////////////////////////////////////////////////////
- // CPVDate2
-
- IMPLEMENT_DYNCREATE(CPVDate2, CWnd)
-
- /////////////////////////////////////////////////////////////////////////////
- // CPVDate2 properties
-
- COleFont CPVDate2::GetFont()
- {
- LPDISPATCH pDispatch;
- GetProperty(DISPID_FONT, VT_DISPATCH, (void*)&pDispatch);
- return COleFont(pDispatch);
- }
-
- void CPVDate2::SetFont(LPDISPATCH propVal)
- {
- SetProperty(DISPID_FONT, VT_DISPATCH, propVal);
- }
-
- OLE_COLOR CPVDate2::GetBackColor()
- {
- OLE_COLOR result;
- GetProperty(DISPID_BACKCOLOR, VT_I4, (void*)&result);
- return result;
- }
-
- void CPVDate2::SetBackColor(OLE_COLOR propVal)
- {
- SetProperty(DISPID_BACKCOLOR, VT_I4, propVal);
- }
-
- OLE_COLOR CPVDate2::GetForeColor()
- {
- OLE_COLOR result;
- GetProperty(DISPID_FORECOLOR, VT_I4, (void*)&result);
- return result;
- }
-
- void CPVDate2::SetForeColor(OLE_COLOR propVal)
- {
- SetProperty(DISPID_FORECOLOR, VT_I4, propVal);
- }
-
- short CPVDate2::GetAlignment()
- {
- short result;
- GetProperty(0x1, VT_I2, (void*)&result);
- return result;
- }
-
- void CPVDate2::SetAlignment(short propVal)
- {
- SetProperty(0x1, VT_I2, propVal);
- }
-
- short CPVDate2::GetDisplayFormat()
- {
- short result;
- GetProperty(0x2, VT_I2, (void*)&result);
- return result;
- }
-
- void CPVDate2::SetDisplayFormat(short propVal)
- {
- SetProperty(0x2, VT_I2, propVal);
- }
-
- BOOL CPVDate2::GetHighlightInverted()
- {
- BOOL result;
- GetProperty(0x3, VT_BOOL, (void*)&result);
- return result;
- }
-
- void CPVDate2::SetHighlightInverted(BOOL propVal)
- {
- SetProperty(0x3, VT_BOOL, propVal);
- }
-
- unsigned long CPVDate2::GetHighlightColor()
- {
- unsigned long result;
- GetProperty(0x4, VT_I4, (void*)&result);
- return result;
- }
-
- void CPVDate2::SetHighlightColor(unsigned long propVal)
- {
- SetProperty(0x4, VT_I4, propVal);
- }
-
- DATE CPVDate2::GetValue()
- {
- DATE result;
- GetProperty(0xf, VT_DATE, (void*)&result);
- return result;
- }
-
- void CPVDate2::SetValue(DATE propVal)
- {
- SetProperty(0xf, VT_DATE, propVal);
- }
-
- DATE CPVDate2::Get_Value()
- {
- DATE result;
- GetProperty(0x0, VT_DATE, (void*)&result);
- return result;
- }
-
- void CPVDate2::Set_Value(DATE propVal)
- {
- SetProperty(0x0, VT_DATE, propVal);
- }
-
- short CPVDate2::GetDay()
- {
- short result;
- GetProperty(0x10, VT_I2, (void*)&result);
- return result;
- }
-
- void CPVDate2::SetDay(short propVal)
- {
- SetProperty(0x10, VT_I2, propVal);
- }
-
- short CPVDate2::GetMonth()
- {
- short result;
- GetProperty(0x11, VT_I2, (void*)&result);
- return result;
- }
-
- void CPVDate2::SetMonth(short propVal)
- {
- SetProperty(0x11, VT_I2, propVal);
- }
-
- short CPVDate2::GetYear()
- {
- short result;
- GetProperty(0x12, VT_I2, (void*)&result);
- return result;
- }
-
- void CPVDate2::SetYear(short propVal)
- {
- SetProperty(0x12, VT_I2, propVal);
- }
-
- short CPVDate2::GetDateFormat()
- {
- short result;
- GetProperty(0x5, VT_I2, (void*)&result);
- return result;
- }
-
- void CPVDate2::SetDateFormat(short propVal)
- {
- SetProperty(0x5, VT_I2, propVal);
- }
-
- CString CPVDate2::GetSeparator()
- {
- CString result;
- GetProperty(0x6, VT_BSTR, (void*)&result);
- return result;
- }
-
- void CPVDate2::SetSeparator(LPCTSTR propVal)
- {
- SetProperty(0x6, VT_BSTR, propVal);
- }
-
- BOOL CPVDate2::GetEnabled()
- {
- BOOL result;
- GetProperty(DISPID_ENABLED, VT_BOOL, (void*)&result);
- return result;
- }
-
- void CPVDate2::SetEnabled(BOOL propVal)
- {
- SetProperty(DISPID_ENABLED, VT_BOOL, propVal);
- }
-
- unsigned long CPVDate2::GetDisabledColor()
- {
- unsigned long result;
- GetProperty(0x7, VT_I4, (void*)&result);
- return result;
- }
-
- void CPVDate2::SetDisabledColor(unsigned long propVal)
- {
- SetProperty(0x7, VT_I4, propVal);
- }
-
- BOOL CPVDate2::GetTimeStore()
- {
- BOOL result;
- GetProperty(0x8, VT_BOOL, (void*)&result);
- return result;
- }
-
- void CPVDate2::SetTimeStore(BOOL propVal)
- {
- SetProperty(0x8, VT_BOOL, propVal);
- }
-
- BOOL CPVDate2::GetModified()
- {
- BOOL result;
- GetProperty(0x9, VT_BOOL, (void*)&result);
- return result;
- }
-
- void CPVDate2::SetModified(BOOL propVal)
- {
- SetProperty(0x9, VT_BOOL, propVal);
- }
-
- CString CPVDate2::GetDateString()
- {
- CString result;
- GetProperty(0x13, VT_BSTR, (void*)&result);
- return result;
- }
-
- void CPVDate2::SetDateString(LPCTSTR propVal)
- {
- SetProperty(0x13, VT_BSTR, propVal);
- }
-
- BOOL CPVDate2::GetSeparatorDefault()
- {
- BOOL result;
- GetProperty(0xa, VT_BOOL, (void*)&result);
- return result;
- }
-
- void CPVDate2::SetSeparatorDefault(BOOL propVal)
- {
- SetProperty(0xa, VT_BOOL, propVal);
- }
-
- short CPVDate2::GetBorder()
- {
- short result;
- GetProperty(0xb, VT_I2, (void*)&result);
- return result;
- }
-
- void CPVDate2::SetBorder(short propVal)
- {
- SetProperty(0xb, VT_I2, propVal);
- }
-
- short CPVDate2::GetEditMode()
- {
- short result;
- GetProperty(0xc, VT_I2, (void*)&result);
- return result;
- }
-
- void CPVDate2::SetEditMode(short propVal)
- {
- SetProperty(0xc, VT_I2, propVal);
- }
-
- BOOL CPVDate2::GetEditModeChange()
- {
- BOOL result;
- GetProperty(0xd, VT_BOOL, (void*)&result);
- return result;
- }
-
- void CPVDate2::SetEditModeChange(BOOL propVal)
- {
- SetProperty(0xd, VT_BOOL, propVal);
- }
-
- short CPVDate2::GetCalendarFormat()
- {
- short result;
- GetProperty(0x14, VT_I2, (void*)&result);
- return result;
- }
-
- void CPVDate2::SetCalendarFormat(short propVal)
- {
- SetProperty(0x14, VT_I2, propVal);
- }
-
- short CPVDate2::GetStatus()
- {
- short result;
- GetProperty(0x15, VT_I2, (void*)&result);
- return result;
- }
-
- void CPVDate2::SetStatus(short propVal)
- {
- SetProperty(0x15, VT_I2, propVal);
- }
-
- short CPVDate2::GetDayOfWeek()
- {
- short result;
- GetProperty(0x16, VT_I2, (void*)&result);
- return result;
- }
-
- void CPVDate2::SetDayOfWeek(short propVal)
- {
- SetProperty(0x16, VT_I2, propVal);
- }
-
- short CPVDate2::GetDayOfYear()
- {
- short result;
- GetProperty(0x17, VT_I2, (void*)&result);
- return result;
- }
-
- void CPVDate2::SetDayOfYear(short propVal)
- {
- SetProperty(0x17, VT_I2, propVal);
- }
-
- short CPVDate2::GetWeekOfYear()
- {
- short result;
- GetProperty(0x18, VT_I2, (void*)&result);
- return result;
- }
-
- void CPVDate2::SetWeekOfYear(short propVal)
- {
- SetProperty(0x18, VT_I2, propVal);
- }
-
- short CPVDate2::GetValueReset()
- {
- short result;
- GetProperty(0xe, VT_I2, (void*)&result);
- return result;
- }
-
- void CPVDate2::SetValueReset(short propVal)
- {
- SetProperty(0xe, VT_I2, propVal);
- }
-
- /////////////////////////////////////////////////////////////////////////////
- // CPVDate2 operations
-
- void CPVDate2::AboutBox()
- {
- InvokeHelper(0xfffffdd8, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
- }
-